#ifndef BLOCK_H
#define BLOCK_H

#include "fixedunit.h"

class Block : public FixedUnit
{
public:
    Block();
    Block(QRect &geometry);

    int getType() const;

    void init();
    void draw(QPainter *painter);
    void dig();

    void serializeDebug(QDebug &dbg);
    void serializeIn(QDataStream &in);
    void serializeOut(QDataStream &out);
};


#endif // BLOCK_H
